﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DotNet.Utilities
{
    public  class HashTableHelper
    {
        public static Hashtable Get()
        {
            Hashtable hashtable = new Hashtable();
            hashtable["code"] = 1;
            hashtable["msg"] = "error";
            return hashtable;
        }
        public static Hashtable GetData()
        {
            Hashtable hashtable = new Hashtable();
            List<string> keys = new List<string>(); 
            hashtable["code"] = 1;
            hashtable["msg"]="error";
            hashtable["count"] = 0;
            hashtable["data"] = keys;
            return hashtable;
        }
    }
}
